export type GraphOntologyConcept = {
  id: string
  name: string
  parentId: string | null
  childIds: Array<String>
  propertyIds: Array<string>
  comments: Array<String>
  creatorId: string
  createDate: Date
  updatorId: string
  updateDate: Date
}

export type GraphOntologyProperty = {
  id: string
  name: string
  parentId: string | null
  childIds: Array<String>
  valuesType: string | null
  comments: Array<String>
  creatorId: string
  createDate: Date
  updatorId: string
  updateDate: Date
}

export type GraphOntologyRelation = {
  id: string
  name: string
  parentId: string | null
  childIds: Array<string>
  sourceConceptId: string
  targetConceptId: string
  propertyIds: Array<string>
  comments: Array<String>
  creatorId: string
  createDate: Date
  updatorId: string
  updateDate: Date
}

export type GraphOntology = {
  id: string
  name: string
  relations: Array<GraphOntologyRelation>
  comments: Array<String>
}
